package com.buba.system.service.impl;

import com.buba.system.pojo.SystemMenu;
import com.buba.system.pojo.SystemUserRole;
import com.buba.system.pojo.SystemUsers;
import com.buba.system.service.RoleService;
import com.buba.system.service.UserService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

import java.util.Set;

@Service("RoleServiceImpl")
public class RoleServiceImpl implements RoleService {
    @DubboReference
    private RoleService roleService;

    @Override
    public SystemUserRole selSystem(SystemUsers systemUsers) {
        return roleService.selSystem(systemUsers);
    }

    @Override
    public Set<String> selSystemMenu(String role_name) {
        return roleService.selSystemMenu(role_name);
    }
}
